package com.heima.model.comment.dtos;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentSaveDto {

    @JsonSerialize(using = ToStringSerializer.class)
    //@JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long articleId;
    private String content;
}
